﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace AdministrationWeb
{
    public class MySession
    {
        // private constructor
        private MySession() { }

        // Gets the current session.
        public static MySession Current
        {
            get
            {
                MySession session = (MySession)HttpContext.Current.Session["__MySession__"];
                if (session == null)
                {
                    session = new MySession();
                    HttpContext.Current.Session["__MySession__"] = session;
                }
                return session;
            }
        }

        // **** add your session properties here, e.g like this:
        public int userUserID { get; set; }
        public char userPermission { get; set; }
        public string userFirstName { get; set; }
        public string userLastName { get; set; }
        public string userEmailAddress { get; set; }

        public string mentorFirstName { get; set; }
        public string mentorLastName { get; set; }
        public string mentorGender { get; set; }
        public string mentorEmail { get; set; }
        public string mentorDegree { get; set; }
        public string mentorYearsExperience { get; set; }
        public string mentorCollege { get; set; }
        public string mentorFocusID { get; set; }
        public string mentorPathwayID { get; set; }
        public string mentorAdditionalComments { get; set; }
        public string mentorJobType { get; set; }
        public string mentorLocation { get; set; }
        public string mentorBeneficialCourse1 { get; set; }
        public string mentorBeneficialCourse2 { get; set; }
        public string mentorBeneficialCourse3 { get; set; }
        public string mentorMentorID { get; set; }
    }
}